/* 文档页css样式 */

.document-container {
    margin-top: 30px;
    min-height: 100vh;
}

.quality-document {
    /* background-color: #f9f9f9; */
}


/* 精品推荐 */

.quality-header {
    display: flex;
    margin-bottom: 20px;
}

.document-title {
    font-size: 20px;
    font-weight: bold;
}

.tagList {
    margin-left: 40px;
}

.documentlist {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
    padding-bottom: 5px;
    /* justify-content: center; */
    position: relative;
}

.document-wrapper {
    background-color: #fff;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    width: 24.5%;
    box-shadow: 0px 0px 53px -12px rgba(0, 0, 0, 0.1);
    /* border: 1px solid #717477; */
    flex-wrap: wrap;
    margin-right: 20px;
    margin-bottom: 20px;
}

.document {
    width: 100%;
    position: relative;
    box-shadow: #999999;
    margin-bottom: 20px;
}

.cover-container:hover * {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.cover {
    width: 100%;
    border-radius: 8px;
    z-index: 2;
    transition: transform 0.3s ease;
    box-shadow: 0px 0px 53px -12px rgba(0, 0, 0, 0.1);
}

.type-icon {
    position: absolute;
    bottom: 0px;
    transition: transform 0.3s ease;
    z-index: 1;
    width: 30px;
    right: 0px;
}

.doctitle {
    font-size: 17px;
    margin-top: 12px;
    text-overflow: ellipsis;
    color: #222;
}

.property {
    margin-top: 12px;
    color: #999999;
}

.property .el-link {
    margin-right: 7px;
}

.date {
    margin-top: 12px;
    color: #999999;
}


/* 侧边内容 */

.slide-container {
    margin-left: 20px;
}

.slide-container .header {
    font-size: 20px;
    font-weight: bold;
}


/* 相关文档分类 */

.slide-container .classify-content {
    border-radius: 20px;
}

.loadmore {
    position: absolute;
    bottom: 0;
    cursor: pointer;
    left: 40%;
}

.no-more {
    text-align: center;
    color: #999;
    position: absolute;
    bottom: 0;
    z-index: 1;
    left: 40%;
}


/* 移动端样式 */

@media screen and (max-width: 767px) {
    .documentlist {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        margin-top: 0px;
        padding-bottom: 5px;
        align-items: center;
        /* justify-content: center; */
        position: relative;
        padding-bottom: 1rem;
    }
    .document-wrapper {
        background-color: #fff;
        padding: 20px;
        border-radius: 16px;
        display: flex;
        width: 70%;
        justify-content: center;
        flex-wrap: wrap;
        /* margin-right: 20px; */
        margin-bottom: 20px;
    }
    .loadmore {
        position: absolute;
        bottom: 0;
        cursor: pointer;
        text-align: center;
        left: 0;
        width: 100%;
    }
    .tagList {
        margin-left: 0px;
    }
}